package com.linkage.lcims.base.po.cdma;

import org.apache.commons.lang.builder.ToStringBuilder;



/**
 * CImsiSegment entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class CImsiSegment  implements java.io.Serializable {


    // Fields    

     private String startimsi;
     private String stopimsi;
     private String zoneid;


    // Constructors

    /** default constructor */
    public CImsiSegment() {
    }

    
    /** full constructor */
    public CImsiSegment(String startimsi, String stopimsi, String zoneid) {
        this.startimsi = startimsi;
        this.stopimsi = stopimsi;
        this.zoneid = zoneid;
    }

   
    // Property accessors

    public String getStartimsi() {
        return this.startimsi;
    }
    
    public void setStartimsi(String startimsi) {
        this.startimsi = startimsi;
    }

    public String getStopimsi() {
        return this.stopimsi;
    }
    
    public void setStopimsi(String stopimsi) {
        this.stopimsi = stopimsi;
    }

    public String getZoneid() {
        return this.zoneid;
    }
    
    public void setZoneid(String zoneid) {
        this.zoneid = zoneid;
    }
    
    public String toString() {
        return new ToStringBuilder(this)
            .append("startimsi", getStartimsi())
            .toString();
    }


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((startimsi == null) ? 0 : startimsi.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CImsiSegment other = (CImsiSegment) obj;
		if (startimsi == null) {
			if (other.startimsi != null)
				return false;
		} else if (!startimsi.equals(other.startimsi))
			return false;
		return true;
	}








}